#include"Rectangle.h"
#include"Shape.h"

Rectangle::Rectangle(int w, int h) :Shape(int w,int h)
{
	w = width;
	h = height;
}

int Rectangle::area()
{
	return (width*height);
}